package top.infopub.mgr.fia.dao;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import top.infopub.generic.GenericDao;
import top.infopub.mgr.fia.domain.FeeNoteDomain;
import top.infopub.mgr.fia.domain.FeeNotesDomain;
import top.infopub.mgr.fia.vo.FeeNoteVo;
import top.infopub.model.fia.FeeNote;

/** 费用登记单(FIA_FEE_NOTE) **/
public interface FeeNoteDao extends GenericDao<FeeNote, String> {

    Page<FeeNoteDomain> selectByDomainWhere(FeeNoteVo feeNoteVo);

    String getHrOrgBillNameByBillId(String billId);

    Boolean changeState(@Param("id") String id,@Param("state") int state);

    FeeNoteDomain queryDomainById(String id);

    /**
     * 根据条件查询分页记录
     * @param where
     * @return 
     * @see
     */
    Page<FeeNotesDomain> selectDataByWhere(Map<String, Object> where);

}